package cn.wgx.security.service;

import cn.wgx.security.entity.Permission;
import cn.wgx.security.mapper.PermissionMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionService extends ServiceImpl<PermissionMapper, Permission> {

    public List<Permission> getPerByUserId(Long userId){
        return baseMapper.getPerByUserId(userId);
    }


}
